import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import axios from 'axios'
import http from './ajax/http'
Vue.config.productionTip = false
http.defaults.baseURL='/api'
Vue.prototype.$axios=http
//在所有通过axios发起的请求的url前拼接一个/api
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
